package cn.yzstu.university.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pig4cloud.pig.common.mybatis.base.BusinessBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author Baldwin
 * @mail admin@yzstu.cn
 * @blog blog.yzstu.cn
 * @since 2022/8/1 16:26
 */
@Data
@TableName("t_sign")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "")
public class Sign extends BusinessBaseEntity {
	/**
	 * id
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description ="id")
	private Long id;

	/**
	 * user
	 */
	@Schema(description ="user")
	private Long user;

	/**
	 * activityId
	 */
	@Schema(description ="activityId")
	private Long activityId;

	/**
	 * signType
	 */
	@Schema(description ="signType")
	private String signType;

	/**
	 * time
	 */
	@Schema(description ="time")
	private LocalDateTime time;
}
